package com.wanda.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wanda.mapper.RoomMapper;
import com.wanda.po.Room;
import com.wanda.po.RoomExample;
import com.wanda.service.RoomService;

@Service("roomService")
public class RoomServiceImpl implements RoomService {

	@Autowired
	private RoomMapper roomMapper;
	

	public List<Room> findRoomList(RoomExample roomExample) {
		return roomMapper.selectByExample(roomExample);
	}


	public List<Room> selectByExample(RoomExample example) {
		return roomMapper.selectByExample(example);
	}


	public int updateByPrimaryKeySelective(Room record) {
		return roomMapper.updateByPrimaryKeySelective(record);
	}

}
